$(window).load(function(){
      $('.home-slider').flexslider({
        animation: "fade",
		prevText: "",
		nextText: "",
        start: function(slider){
          $('body').removeClass('loading');
        }
      });
	  
	  $('.committee, .speakers, .organize-slider').flexslider({
        animation: "fade",
		controlNav: false,               
		directionNav: false,
		// slideshowSpeed: 1000, 
        start: function(slider){
          $('body').removeClass('loading');
        }
      });
	  
	   var total = $('.gallery li').length;
	  $('span.total').text(' / ' + total);
	  
	  $('.gallery').flexslider({
		animation: "fade",
		directionNav: true,
		prevText: "",
		nextText: "",
		controlNav: false,
        start: function(slider){
          $('span.index').text(slider.count);
   	 	$('span.index').text(slider.currentSlide);
    	$('span.index').text(function(i,txt) { return parseInt(txt, 10) + 1; } );
        },
  		after: function(slider) {
    	$('span.index').text(slider.currentSlide);
    	$('span.index').text(function(i,txt) { return parseInt(txt, 10) + 1; });
		}
      });

    });
	
$(document).ready(function(e) {
    $('.board-list li:odd').addClass('odd');
});